<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script>var SITEURL='';</script>
<title> {weixin::C('site_title')} {weixin::C('site_name')}</title>
<link href="{weixin::RES}/css/style.css" rel="stylesheet" type="text/css" />
<link href="{weixin::RES}/css/stylet.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{weixin::RES}/js/jquery.min.js"></script>
<script type="text/javascript" src="{weixin::RES}/js/main.js"></script>
<script type="text/javascript" src="{weixin::RES}/js/common.js"></script>


<script type="text/javascript">
function ying(){
	 document.getElementById('tiduser').style.display="none";
	 document.getElementById('quit').style.display="block";
}
function xian(){
	 document.getElementById('tiduser').style.display="block";
	 document.getElementById('quit').style.display="none";
}
setTimeout(xian,5000);
</script>
</head>

<body>
<div id="herder" >
	<div id="top">
		<a href="{weixin::U('User/Index/index')}" >管理中心</a>
		<a class="line" ></a>
        <a href="#" class="a" id="tiduser" onmouseover="ying();" >您好：<span>{weixin:$Think.session.uname}</span></a>
		<a href="#" class="a1" id="quit" onclick="Javascript:window.open('{weixin::U('System/Admin/logout')}')" onLoad=setTimeout("abc.style.display='none'",5000) >安全退出</a>
	</div>
</div>
<div id="Frame" class="shadow">
	<div id="nav">
		<img src="{weixin:$wecha.headerpic}" width="50" height="50" />
		<ul class="ul">
			<li><strong>{weixin:$wecha.wxname}</strong><img src="{weixin::RES}/images/vip.png" /></li>
			<li>微信号：{weixin:$wecha.weixin}</li>
		</ul>
	</div>
    <div id="floatline"></div>
	<div id="Menu">
		<div class="top">
        	
           <?php if(in_array(MODULE_NAME,array('Function','Areply','Text','Img','Voiceresponse','Liuyan','Birthday','Index','Company','Other'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-006.png" />
            <?php } ?>
            <?php if(in_array(MODULE_NAME,array('Home','Tmpls','Classify','Flash','Photo','plugmenu'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-001.png" />
            <?php } ?>
            <?php  if(in_array(MODULE_NAME,array('Lottery','Coupon','Guajiang','Wedding','Research'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-003.png" />
            <?php } ?>
            <?php if(in_array(MODULE_NAME,array('Product','Expert','Shoptmpls','Groupon','Diymen','orders','Host','Selfform','Adma','Panorama','Reply_info','Estate'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-002.png" />
            <?php } ?>
           <?php if(in_array(MODULE_NAME,array('info','Member_card','privilege','create','exchange','Member','replyInfoSet'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-004.png" />
            <?php } ?>
            <?php  if(in_array(MODULE_NAME,array('Taobao','Api','Reservation'))){ ?>
                <img src="{weixin::RES}/images/TwoMenu-ico-005.png" />
            <?php }  ?>  
                <!--<img src="{weixin::RES}/images/AMenu-Ico.png" />-->
            <a>
            	<?php if(in_array(MODULE_NAME,array('Function','Areply','Text','Img','Voiceresponse','Liuyan','birthday','Index','Company','Other','Requerydata','Alipay_config','Wxpay_config','Alipay_m_config'))){ ?>基础功能<?php } ?>
                <?php if(in_array(MODULE_NAME,array('Home','Tmpls','Classify','Flash','Photo','plugmenu'))){ ?>微网站<?php } ?>
                <?php  if(in_array(MODULE_NAME,array('Lottery','Coupon','Guajiang','Research','Zadan','Wedding','Weidiaoyan'))){ ?>营销功能<?php } ?>                   
                <?php if(in_array(MODULE_NAME,array('Product','Expert','Shoptmpls','Groupon','Diymen','orders','Host','Selfform','Adma','Research','Reply_info','Panorama','Estate'))){ ?>微商务<?php } ?>
                <?php if(in_array(MODULE_NAME,array('info','Member_card','privilege','create','exchange','Member','replyInfoSet'))){ ?>微会员<?php } ?>
                <?php  if(in_array(MODULE_NAME,array('Taobao','Api','Reservation'))){ ?>互动模块<?php }  ?>                                                      
            </a>
            <span>
            	<if condition="MODULE_NAME eq 'Function'">- 功能管理</if>
                <if condition="MODULE_NAME eq 'Areply'">- 关注回复</if>
                <if condition="MODULE_NAME eq 'Text'">- 文本回复</if>
<!--            <if condition="MODULE_NAME eq 'Voiceresponse'">- 语音回复</if>   -->
                <if condition="MODULE_NAME eq 'Index'">- 短信邮箱</if>
                <if condition="MODULE_NAME eq 'Index'">- 短信邮箱</if>
                <if condition="MODULE_NAME eq 'Tenpay_config'">- 财付通设置</if>
				<if condition="MODULE_NAME eq 'Wxpay_config'">- 微信支付设置</if>
                <if condition="MODULE_NAME eq 'Alipay_m_config'">- 支付宝设置</if> 
                <if condition="MODULE_NAME eq 'Birthday'">- 用户生日查询</if>
                <if condition="MODULE_NAME eq 'Requerydata'">- 统计分析</if>
                <if condition="MODULE_NAME eq 'Img'">- 图文回复</if>
                <if condition="MODULE_NAME eq 'Shoptmpls'">- 商城模块管理</if>
                <if condition="MODULE_NAME eq 'Diymen'">- 自定义菜单</if>
                <if condition="MODULE_NAME eq 'Flash'">- 幻灯片</if>
                <if condition="MODULE_NAME eq 'Reply_info'">- 回复配置</if>
                <if condition="MODULE_NAME eq 'Product'">- 微商城</if>
                <if condition="MODULE_NAME eq 'Adma'">- DIY宣传</if>
                <if condition="MODULE_NAME eq 'info'">- 商家设置</if>
                <if condition="MODULE_NAME eq 'Liuyan'">- 留言板</if>
            </span>
		</div>
		<div class="TwoMenu">
			<a href="{weixin::U('Areply/index',array('token'=>$token,'id'=>session('wxid')))}" >
            	<img src="{weixin::RES}/images/TwoMenu-ico-06.png" />
            	<span>基础</span>
            </a>
			<div id="TwoMenu-01" <?php if(in_array(MODULE_NAME,array('Function','Areply','Liuyan','birthday','Text','Img','Voiceresponse','Index','Company','Other','Requerydata','Tenpay_config','Alipay_m_config'))){ ?>style="display:block;" <?php }else{ ?>style="display:none;"<?php } ?> >
            	<img src="{weixin::RES}/images/TwoMenu-ico-006.png" /><a class="a">基础</a>
            </div>
			<a href="{weixin::U('Expert/index',array('token'=>$token))}" >
            	<img src="{weixin::RES}/images/TwoMenu-ico-02.png" /><span>商务</span>
            </a>
			<div id="TwoMenu-02" <?php if(in_array(MODULE_NAME,array('Product','Expert','Shoptmpls','Groupon','Diymen','orders','Flash','Host','Selfform','Adma','Panorama','Reply_info','Estate'))){ ?>style="display:block;" <?php }else{ ?>style="display:none;"<?php } ?> >
            	<img src="{weixin::RES}/images/TwoMenu-ico-002.png" /><a class="a">商务</a>
            </div>
		</div>    
		<div class="ThreeMenu">
        	<div class="contab" <?php if(in_array(MODULE_NAME,array('Function','Areply','Text','Img','Voiceresponse','Liuyan','Birthday','Index','Company','Other','Requerydata','Tenpay_config','Wxpay_config','Alipay_m_config'))){ ?>style="display:block;" <?php }else{ ?>style="display:none;"<?php } ?> >
                <a href="{weixin::U('Areply/index',array('token'=>$token))}" class="Highland" >
                    <img src="{weixin::RES}/images/10-2.png" /><span>关注回复</span>
                </a>
                <a href="{weixin::U('Text/index',array('token'=>$token))}" class="Navy" >
                    <img src="{weixin::RES}/images/1-2.png" /><span>文本回复</span>
                </a>
                <a href="{weixin::U('Img/index',array('token'=>$token))}" class="LightPurple" >
                    <img src="{weixin::RES}/images/2-3.png" /><span>图文回复</span>
                </a>
                <a href="{weixin::U('Index/editemail',array('id'=>session('wxid'),'token'=>$token))}" class="Orange" >
                    <img src="{weixin::RES}/images/10-1.png" /><span>邮箱设置</span>
                </a>
				<a href="{weixin::U('Liuyan/index',array('token'=>$token))}" class="Navy" >
                    <img src="{weixin::RES}/images/ThreeMenu-ico-04.png" /><span>留言板</span>
                </a>
                <a href="{weixin::U('Tenpay_config/index',array('token'=>$token))}" class="Brown" >
                    <img src="{weixin::RES}/images/10-3.png" /><span>财付通</span>
                </a>
				<a href="{weixin::U('Wxpay_config/index',array('token'=>$token))}" class="Navy" >
                    <img src="{weixin::RES}/images/10-4.png" /><span>微信支付</span>
                </a>
                <a href="{weixin::U('Alipay_m_config/index',array('token'=>$token))}" class="LightPurple" >
                    <img src="{weixin::RES}/images/2-6.png" /><span>支付宝</span>
                </a>
                <a href="{weixin::U('Requerydata/index',array('token'=>$token))}" class="LightRed" >
                    <img src="{weixin::RES}/images/TwoMenu-ico-05.png" /><span>统计分析</span>
                </a>
            </div>
            <div class="contab" <?php if(in_array(MODULE_NAME,array('Product','Expert','Groupon','Shoptmpls','Diymen','orders','Flash','Host','Selfform','Adma','Panorama','Reply_info','Estate'))){ ?>style="display:block;" <?php }else{ ?>style="display:none;"<?php } ?> >
                <a href="{weixin::U('Expert/index',array('token'=>$token))}" class="Red"  >
                    <img src="{weixin::RES}/images/5-0.png" /><span>微商城</span>
                </a>
                 <a href="{weixin::U('Diymen/index',array('token'=>$token))}" class="LightBlue" >
                    <img src="{weixin::RES}/images/2-4.png" /><span>DIY菜单</span>
                </a>
                <a href="{weixin::U('Adma/index',array('token'=>$token))}"  class="Orange" >
                    <img src="{weixin::RES}/images/ThreeMenu-ico-09.png" /><span>DIY宣传</span>
                </a>
                <a href="{weixin::U('Flash/index',array('token'=>$token))}" class="Orange" >
                    <img src="{weixin::RES}/images/2-5.png" /><span>幻灯片</span>
                </a>
            </div>
		</div>
	</div>
	<div id="Content" >
	</div>